package top.huntwolf.admin.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.huntwolf.admin.pojo.Address;

import java.util.List;

@Mapper
@Repository
public interface AddressDao {

    int insert(Address address);

    int delete(String addressId);

    List<Address> selectAllByUser(String openId);

    Address selectById(int id);

    int update(Address address);

    Address selectDuplicate(Address address);



}
